home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13998 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  933 b 

  1. Path: newshost.centrum.is!news
  2. From: bjarnir@centrum.is (Bjarni Ragnarsson)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: ERROR, Please HELP me
  5. Date: 28 Mar 1996 11:58:37 GMT
  6. Organization: BR Software
  7. Message-ID: <4jdutd$9v4@newshost.centrum.is>
  8. References: <31558C94.44B1@prometheus.hol.gr>
  9. NNTP-Posting-Host: tungl-87.centrum.is
  10. X-Newsreader: WinVN version 0.82
  11.  
  12.  
  13. In article <31558C94.44B1@prometheus.hol.gr>, john <vjohn@prometheus.hol.gr> says:
  14. >
  15. >I have this class ...
  16. >
  17. >  Class MyDialog : TDialog
  18. >    {
  19. >      public :
  20. >        MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC")
  21. >          {
  22. >          }
  23. >    }
  24. >
  25. >and I call MyDialog class ...
  26. >
  27. >   (new MyDialog(this))->Execute()); 
  28.  
  29. Haven't used Borland for a while, but (ignoring the typo aParent<->aParend) 
  30. I think you have to use MAKEINTRESOURCE("MyDialog_RC") instead of 
  31. "MyDialog_RC" alone.
  32. If you don't get a better advice, you might try that.
  33.  
  34. Bjarni.
  35.     
  36.